<?php
$m1 = $m2 = $m3 = $m4 = "";
/* switch ($menu) {
  case 'Home':
  $m1 = " bkgWhite";
  break;
  case "User":
  $m2 = " bkgWhite";
  break;
  case "Activity":
  $m3 = " bkgWhite";
  break;
  default:
  $m1 = " bkgWhite";
  break;
  } */
?>

<ul id="menu">
    <li ><?= anchor('session/index', 'Home', 'title="Home"'); ?></li>
    <li ><a href="#">User</a>
        <ul>
            <li><?= anchor('session/profile', 'Profile', 'title="Profile"'); ?></li>
			<li><?= anchor('admin/list_users', 'List Users', 'title="Users"'); ?></li>
        </ul>
    </li>
    <li ><a href="#">Activity</a>
        <ul>
            <li><?= anchor('activity/add', 'Add', 'title="New Activity"'); ?></li>
            <li><?= anchor('activity/show', 'Show', 'title="Show Activities"'); ?></li>
        </ul>
    </li>

</ul>

<script type="text/javascript">
    $('#menu').menu({position: {my: "left top", at: "left bottom"}});
    $(".ui-icon").attr({'class': ''});
</script>